home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ZAM 2
/
ZAM 2.adf
/
PowerMenu.doc
/
PowerMenu.doc
Wrap
Text File
|
1990-09-07
|
4KB
|
159 lines
####################################################################
#### ####
#### POWER-MENU V2.0 - DOCS ####
#### ####
#### - Public Domain - ####
#### ####
#### - by METALLION of KEFRENS in 1990 - ####
#### ####
####################################################################
CONTENTS: <0> Introduction
<1> Syntax of PowerMenu
<2> Textfile
<3> Fontfile
<4> Point color
<5> Shadow color
=====================================================================
INTRODUCTION: <0>
=====================================================================
PowerMenu is a utility for those who are fed up with the standard DOSwindow.
PM gives you the possibility of making your own textmenu (80x32 chars).
PM must be run from CLI (who uses the SleepBench anyway??)
First you have to type in your own text-menu in a text editor.
AND you MUST copy the "RUN"-command to C-directory.
Text-colors and program-names should be set up in the textfile. (see <2>)
When at the menu; press left mousebutton to execute a program
press right mousebutton to see dos-screen
press both mousebuttons to quit menu
About PM:
This first release was coded by Metallion of Kefrens summer 1990.
The created screen is no system-opened screen, but own copper etc.
PM is Public Domain, sooo go ahead....
Bugs:
???????? What's bugs ????????
=====================================================================
SYNTAX : <1>
=====================================================================
1> PowerMenu textfile[,fontfile,pointcolor,shadowcolor]
Eks.: PowerMenu mytext
- load & write mytext
- use default font
- use default colors
PowerMenu mytext,,$fff,$444
- load & write mytext
- use default font
- use white pointcolor
- use dark gray shadowcolor
PowerMenu mytext,myfont,$fe0,$00f
- load & write mytext
- use myfont to write text
- use yellow pointcolor
- use blue shadowcolor
=====================================================================
TEXTFILE : <2>
=====================================================================
To use PM you have to write a menu-text in your favorite text-editor.
The size of the text may be:
- max. 80 chars pr. line
- max. 32 lines
In the textfile you are able to set up colors for each textline
and tell PM which programs can be executed.
Syntax: [XY;@filename]
Eks.: [11;] ; make textcolor white -> red
[;program] ; executes "program" if clikked by mouse
[40;dir df0:] ; make textcolor yellow -> black
& executes "dir df0:" if clikked by mouse
[;@program] ; QUIT menu & execute program (@=quit)
XY: Makes colors (like the dos-command: STRIPES)
X (0-7): Choose which color:
0 : gray
1 : red
2 : green
3 : blue
4 : yellow
5 : blue/green
6 : violet
7 : special ?
Y (0-1): Fade black/white
0 : fade to black
1 : fade to white
=====================================================================
FONTFILE : <3>
=====================================================================
The fontfile must be a RAW data file and can be created with
PowerFonts 8 (another Metallion utility).
(length of fontfile: 768 bytes)
NB: system bitmap-fonts can NOT be used here.
=====================================================================
POINTCOLOR : <4>
=====================================================================
The color (cursor) to point out a textline
if the line contains a name of a executeable file.
Syntax: $RGB - normal RGB-color (R=red/G=green/B=blue)
Eks.: $f00 - red
$0f0 - green
$00f - blue
$fff - white.....
[;] NO cursor here (cos' no filename)
[;dir] Make cursor to indikate a executeable file.
=====================================================================
SHADOWCOLOR : <5>
=====================================================================
The color of the textshadow. !!
(ya' know 2 bitplanes, one with normal textcolor and one with shadowcolor)
See "pointcolor" !
=====================================================================
This is Public Domain so
use it til' you drop.
METALLION / KEFRENS 1990
=====================================================================